i40e: fix flags declaration
authorJacob Keller <jacob.e.keller@intel.com>
Thu, 7 Sep 2017 22:19:12 +0000 (15:19 -0700)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 14 Jan 2018 19:45:05 +0000 (19:45 +0000)
commit0db74237acb8fbeed61b77e490cb45ef748ea377
tree6bf49f396402ca7a4ec1fd0f38f4e876ca2e862b
parent2c4d5dbf87a85d7229a0692113625263e4fb0bb1
i40e: fix flags declaration

Since we don't yet have more than 32 flags, we'll use a u32 for both the
hw_features and flag field. Should we gain more flags in the future, we
may need to convert to a u64 or separate flags out into two fields.

This was overlooked in the previous commit 2781de2134c4 ("i40e/i40evf:
organize and re-number feature flags"), where the feature flag was not
converted form u64 to u32.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name i40e-fix-flags-declaration.patch
drivers/net/ethernet/intel/i40e/i40e.h